// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fowo.api.common.model.OptionItem;
import com.fowo.api.entity.NavAfterSellOrder;
import com.fowo.api.model.nav.after.sell.order.NavAfterSellOrderItemVo;
import com.fowo.api.model.nav.after.sell.order.NavAfterSellOrderSearchParamPo;
import com.fowo.api.model.nav.after.sell.order.NavAfterSellOrderVo;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface NavAfterSellOrderMapper extends BaseMapper<NavAfterSellOrder> {
  Page<NavAfterSellOrderItemVo> pageSearch(
    @Param("page") Page page,
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  List<OptionItem<NavAfterSellOrderItemVo>> searchOptions(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  List<NavAfterSellOrderItemVo> search(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  Date searchLastUpdateTime(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  /**
   * 搜索满足条件的所有记录的编号列表
   * @param search 搜索参数
   * @return 编号列表
   */
  List<Long> searchIds(@Param("search") NavAfterSellOrderSearchParamPo search);
  /**
   * 搜索满足条件的记录数量
   * @param search 搜索参数
   * @return 记录数量
   */
  Long searchCount(@Param("search") NavAfterSellOrderSearchParamPo search);
  Long getIdByAfterId(@Param("afterId") String afterId);

  List<Long> getIdsByAfterId(@Param("list") List<String> list);

  String getAfterIdById(@Param("id") Long id);

  List<Map<String, Object>> getAfterIdByIds(@Param("ids") List<Long> ids);
  NavAfterSellOrderVo selectVoById(@Param("id") Long id);
  /**
   * 全部
   */
  List<NavAfterSellOrderItemVo> allAfterOrder(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取全部编号列表
   */
  List<Long> allAfterOrderIds(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取全部的总数
   */
  Long allAfterOrderCount(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 全部分页
   */
  Page<NavAfterSellOrderItemVo> allAfterOrderPage(
    @Param("page") Page page,
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  Date allAfterOrderLastUpdateTime(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  /**
   * 待提交
   */
  List<NavAfterSellOrderItemVo> pendingAfterOrder(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取待提交编号列表
   */
  List<Long> pendingAfterOrderIds(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取待提交的总数
   */
  Long pendingAfterOrderCount(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 待提交分页
   */
  Page<NavAfterSellOrderItemVo> pendingAfterOrderPage(
    @Param("page") Page page,
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  Date pendingAfterOrderLastUpdateTime(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  /**
   * 待审批
   */
  List<NavAfterSellOrderItemVo> pendingAuditAfterOrder(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取待审批编号列表
   */
  List<Long> pendingAuditAfterOrderIds(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取待审批的总数
   */
  Long pendingAuditAfterOrderCount(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 待审批分页
   */
  Page<NavAfterSellOrderItemVo> pendingAuditAfterOrderPage(
    @Param("page") Page page,
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  Date pendingAuditAfterOrderLastUpdateTime(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  /**
   * 处理中
   */
  List<NavAfterSellOrderItemVo> processingAfterOrder(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取处理中编号列表
   */
  List<Long> processingAfterOrderIds(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取处理中的总数
   */
  Long processingAfterOrderCount(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 处理中分页
   */
  Page<NavAfterSellOrderItemVo> processingAfterOrderPage(
    @Param("page") Page page,
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  Date processingAfterOrderLastUpdateTime(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  /**
   * 已完成
   */
  List<NavAfterSellOrderItemVo> completedAfterOrder(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取已完成编号列表
   */
  List<Long> completedAfterOrderIds(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取已完成的总数
   */
  Long completedAfterOrderCount(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 已完成分页
   */
  Page<NavAfterSellOrderItemVo> completedAfterOrderPage(
    @Param("page") Page page,
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  Date completedAfterOrderLastUpdateTime(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  /**
   * 已作废
   */
  List<NavAfterSellOrderItemVo> cancelAfterOrder(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取已作废编号列表
   */
  List<Long> cancelAfterOrderIds(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 获取已作废的总数
   */
  Long cancelAfterOrderCount(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );

  /**
   * 已作废分页
   */
  Page<NavAfterSellOrderItemVo> cancelAfterOrderPage(
    @Param("page") Page page,
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
  Date cancelAfterOrderLastUpdateTime(
    @Param("search") NavAfterSellOrderSearchParamPo search
  );
}
